var express = require('express')
var router = express.Router();
var goods = require('../../module/goods.js')
router.get('/goods/list', function (req, res, next){
    new goods().fetchAll().then(re => {
        res.json({
			code: 0,
			message: 'ok',
			data:re
		})
    })
})
module.exports = router;